﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001077 RID: 4215
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournSettleScRsp : IMessage<RogueTournSettleScRsp>, IMessage, IEquatable<RogueTournSettleScRsp>, IDeepCloneable<RogueTournSettleScRsp>, IBufferMessage
	{
		// Token: 0x17003523 RID: 13603
		// (get) Token: 0x0600BC24 RID: 48164 RVA: 0x001FAE67 File Offset: 0x001F9067
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournSettleScRsp> Parser
		{
			get
			{
				return RogueTournSettleScRsp._parser;
			}
		}

		// Token: 0x17003524 RID: 13604
		// (get) Token: 0x0600BC25 RID: 48165 RVA: 0x001FAE6E File Offset: 0x001F906E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournSettleScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003525 RID: 13605
		// (get) Token: 0x0600BC26 RID: 48166 RVA: 0x001FAE80 File Offset: 0x001F9080
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournSettleScRsp.Descriptor;
			}
		}

		// Token: 0x0600BC27 RID: 48167 RVA: 0x001FAE87 File Offset: 0x001F9087
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournSettleScRsp()
		{
		}

		// Token: 0x0600BC28 RID: 48168 RVA: 0x001FAE90 File Offset: 0x001F9090
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournSettleScRsp(RogueTournSettleScRsp other) : this()
		{
			this.tournFinishInfo_ = ((other.tournFinishInfo_ != null) ? other.tournFinishInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this.rogueTournCurSceneInfo_ = ((other.rogueTournCurSceneInfo_ != null) ? other.rogueTournCurSceneInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600BC29 RID: 48169 RVA: 0x001FAEF8 File Offset: 0x001F90F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournSettleScRsp Clone()
		{
			return new RogueTournSettleScRsp(this);
		}

		// Token: 0x17003526 RID: 13606
		// (get) Token: 0x0600BC2A RID: 48170 RVA: 0x001FAF00 File Offset: 0x001F9100
		// (set) Token: 0x0600BC2B RID: 48171 RVA: 0x001FAF08 File Offset: 0x001F9108
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournFinishInfo TournFinishInfo
		{
			get
			{
				return this.tournFinishInfo_;
			}
			set
			{
				this.tournFinishInfo_ = value;
			}
		}

		// Token: 0x17003527 RID: 13607
		// (get) Token: 0x0600BC2C RID: 48172 RVA: 0x001FAF11 File Offset: 0x001F9111
		// (set) Token: 0x0600BC2D RID: 48173 RVA: 0x001FAF19 File Offset: 0x001F9119
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003528 RID: 13608
		// (get) Token: 0x0600BC2E RID: 48174 RVA: 0x001FAF22 File Offset: 0x001F9122
		// (set) Token: 0x0600BC2F RID: 48175 RVA: 0x001FAF2A File Offset: 0x001F912A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurSceneInfo RogueTournCurSceneInfo
		{
			get
			{
				return this.rogueTournCurSceneInfo_;
			}
			set
			{
				this.rogueTournCurSceneInfo_ = value;
			}
		}

		// Token: 0x0600BC30 RID: 48176 RVA: 0x001FAF33 File Offset: 0x001F9133
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournSettleScRsp);
		}

		// Token: 0x0600BC31 RID: 48177 RVA: 0x001FAF44 File Offset: 0x001F9144
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournSettleScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.TournFinishInfo, other.TournFinishInfo) && this.Retcode == other.Retcode && object.Equals(this.RogueTournCurSceneInfo, other.RogueTournCurSceneInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600BC32 RID: 48178 RVA: 0x001FAFA8 File Offset: 0x001F91A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.tournFinishInfo_ != null)
			{
				num ^= this.TournFinishInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num ^= this.RogueTournCurSceneInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600BC33 RID: 48179 RVA: 0x001FB013 File Offset: 0x001F9213
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600BC34 RID: 48180 RVA: 0x001FB01B File Offset: 0x001F921B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600BC35 RID: 48181 RVA: 0x001FB024 File Offset: 0x001F9224
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.tournFinishInfo_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.TournFinishInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Retcode);
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.RogueTournCurSceneInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600BC36 RID: 48182 RVA: 0x001FB09C File Offset: 0x001F929C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.tournFinishInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.TournFinishInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurSceneInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600BC37 RID: 48183 RVA: 0x001FB10C File Offset: 0x001F930C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournSettleScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.tournFinishInfo_ != null)
			{
				if (this.tournFinishInfo_ == null)
				{
					this.TournFinishInfo = new RogueTournFinishInfo();
				}
				this.TournFinishInfo.MergeFrom(other.TournFinishInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.rogueTournCurSceneInfo_ != null)
			{
				if (this.rogueTournCurSceneInfo_ == null)
				{
					this.RogueTournCurSceneInfo = new RogueTournCurSceneInfo();
				}
				this.RogueTournCurSceneInfo.MergeFrom(other.RogueTournCurSceneInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600BC38 RID: 48184 RVA: 0x001FB1A0 File Offset: 0x001F93A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600BC39 RID: 48185 RVA: 0x001FB1AC File Offset: 0x001F93AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 82U)
				{
					if (num != 88U)
					{
						if (num != 114U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.rogueTournCurSceneInfo_ == null)
							{
								this.RogueTournCurSceneInfo = new RogueTournCurSceneInfo();
							}
							input.ReadMessage(this.RogueTournCurSceneInfo);
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.tournFinishInfo_ == null)
					{
						this.TournFinishInfo = new RogueTournFinishInfo();
					}
					input.ReadMessage(this.TournFinishInfo);
				}
			}
		}

		// Token: 0x04004BBE RID: 19390
		private static readonly MessageParser<RogueTournSettleScRsp> _parser = new MessageParser<RogueTournSettleScRsp>(() => new RogueTournSettleScRsp());

		// Token: 0x04004BBF RID: 19391
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004BC0 RID: 19392
		public const int TournFinishInfoFieldNumber = 10;

		// Token: 0x04004BC1 RID: 19393
		private RogueTournFinishInfo tournFinishInfo_;

		// Token: 0x04004BC2 RID: 19394
		public const int RetcodeFieldNumber = 11;

		// Token: 0x04004BC3 RID: 19395
		private uint retcode_;

		// Token: 0x04004BC4 RID: 19396
		public const int RogueTournCurSceneInfoFieldNumber = 14;

		// Token: 0x04004BC5 RID: 19397
		private RogueTournCurSceneInfo rogueTournCurSceneInfo_;
	}
}
